package com.dang.alex.dao.imp;

import com.dang.alex.model.User;

public class Test {
	
	public static void main(String[] args) {
		UserDAOImp ud=new UserDAOImp();
		try {
		User user=new User();
		user.setNickname("jiansheng");
		user.setEmail("768@qq.com");
		user.setPassword("6546");
		user.setId(2);
		ud.upDate(user);
//		System.out.println(user.getNickname());
		} catch (Exception e) {
			
			e.printStackTrace();
		}
		
	
	}
}
